package com.example.order_product.Mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.order_product.Entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProductMapper extends BaseMapper<Product> {
    @Select("select * from products where name = #{name}")
    Product selectByName(String name);
}
